package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 监测点设备关联表
 * @TableName sys_monitor_device
 */
@Data
@TableName(value ="sys_monitor_device")
@ApiModel("监测点设备模型")
public class SysMonitorDevice implements Serializable {

    @TableId
    private Integer id;

    @ApiModelProperty(value = "设备id")
    private Integer deviceId;

    @ApiModelProperty(value = "监测点id")
    private Integer monitorId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "状态 0：停用 1：启用")
    private Integer state;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}